home *** CD-ROM | disk | FTP | other *** search
/ Aminet 28 / Aminet 28 (1998)(GTI - Schatztruhe)[!][Dec 1998].iso / Aminet / misc / unix / sploinerppc.lha / sploinerppc / makefile.wos < prev    next >
Encoding:
Makefile  |  1998-10-04  |  834 b   |  35 lines

  1. CC=vc +warpos -D__WARPOS__ -O1 -c
  2. LD=vc +warpos
  3. TDIR=warpos
  4.  
  5. OBJS= $(TDIR)/usage.o $(TDIR)/sploiner.o $(TDIR)/split.o $(TDIR)/repair.o\
  6. $(TDIR)/join.o $(TDIR)/getopt.o $(TDIR)/getbuff.o
  7.  
  8. $(TDIR)/sploiner:   $(OBJS)
  9.     $(LD) -o $@ $(OBJS)
  10.  
  11. $(TDIR)/usage.o:    usage.c common.h usage.h getopt.h
  12.     $(CC) usage.c -o $@
  13.  
  14. $(TDIR)/sploiner.o: sploiner.c common.h split.h join.h repair.h usage.h getopt.h
  15.     $(CC) sploiner.c -o $@
  16.  
  17. $(TDIR)/split.o:    split.c common.h split.h getbuff.h usage.h getopt.h
  18.     $(CC) split.c -o $@
  19.  
  20. $(TDIR)/repair.o:   repair.c common.h usage.h getopt.h
  21.     $(CC) repair.c -o $@
  22.  
  23. $(TDIR)/join.o:     join.c common.h usage.h getopt.h
  24.     $(CC) join.c -o $@
  25.  
  26. $(TDIR)/getopt.o:   getopt.c
  27.     $(CC) getopt.c -o $@
  28.  
  29. $(TDIR)/getbuff.o:  getbuff.c getbuff.h
  30.     $(CC) getbuff.c -o $@
  31.  
  32. cleanup:
  33.     -delete $(TDIR)/sploiner
  34.     -delete $(OBJS)
  35.